//
//  UIView+PYExternsion.h
//  
//
//  Created by 周培玉 on 15/3/13.
//  Copyright © 2015年 peiyu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (PYExternsion)
//** size */
@property (nonatomic, assign) CGSize viewSize;
//** 宽 */
@property (nonatomic, assign) CGFloat viewWidth;
//** 高 */
@property (nonatomic, assign) CGFloat viewHeight;
//** X */
@property (nonatomic, assign) CGFloat viewX;
//** Y */
@property (nonatomic, assign) CGFloat viewY;
@property (nonatomic,assign) CGFloat viewCenterX;
@property (nonatomic,assign) CGFloat viewCenterY;

/** Get the left point of a view. */
@property (nonatomic) CGFloat viewLeft;

/** Get the top point of a view. */
@property (nonatomic) CGFloat viewTop;

/** Get the right point of a view. */
@property (nonatomic) CGFloat viewRight;

/** Get the bottom point of a view. */
@property (nonatomic) CGFloat viewBottom;

@end
